package org.example.entity;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class User {
    private Integer userId;
    private String username;
    private String gender;
    private String password;
    private String phone;
    private String name;

    public User() {
    }

    public User( String username, String gender ,String password, String phone, String name) {
        this.username = username;
        this.password = password;
        this.gender = gender;
        this.phone = phone;
        this.name = name;
    }
    public User( String username, String password, String phone) {
        this.username = username;
        this.password = password;
        this.phone = phone;
    }

}
